
/* export function 请求函数名(payload = {}) {
    return service.请求方式('接口名称', payload)
} */
// 导入封装好的service对象(设置有拦截器)
import service from '../utils/request'

// 轮播图请求
export function banner(payload = {}) {
    return service.get('/api/banner/list', {params:payload})
}

// 店铺列表
export function shop_list(payload = {}) {
    return service.get('/api/shop/list', {params:payload})
}

// 爆爆团
export function tuan_list(payload = {}) {
    return service.get('/api/tuan/list', {params:payload})
}